						<div class="page-header">
							<h1>
								Plan de Cursos
								<small>
									<i class="icon-double-angle-right">&#32;</i>
									Listado
								</small>
							</h1>
						</div>								
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
							<?php if(isset($message)) { ?>
								<h4 class="text-success">
									<i class="icon-ok"></i>
									<?php echo $message; ?>
								</h4>
							<?php } ?>
								<p>
									<a class="btn btn-success" href="<?php echo site_url('admin/cursos/registro'); ?>"><i class="icon-plus">&#32;</i>Agregar</a>
									<a class="btn btn-success" href="<?php echo site_url('admin/cursos/exportar'); ?>"><i class="icon-table">&#32;</i>Excel de inscritos</a>
								</p>
								<div class="row">
									<div class="col-xs-12">
										<div class="table-header">
											Resultados para "Cursos"
										</div>
										<div class="table-responsive">
											<table id="table-eventos" class="table table-striped table-bordered table-hover">
												<thead>
													<tr>
														<th>Título</th>
														<th class="hidden-480">Descripción corta</th>
														<th class="hidden-480">Fecha del evento</th>
														<th class="hidden-480">Hora del evento</th>
														<th class="hidden-480">Precio</th>
														<th class="hidden-480">Vacantes</th>
														<th class="hidden-480">Inscritos</th>
														<th>Fecha</th>
														<th>Estado</th>
														<th>Acciones</th>
													</tr>
												</thead>

												<tbody>
													<?php foreach($result as $row) { ?>
													<tr>
														<!-- titulo -->
														<td>
															<strong><?php echo $row->name; ?></strong>
														</td>
														<!-- descripcion corta -->
														<td class="hidden-480">
															<?php echo character_limiter($row->shortdesc, 50); ?>
														</td>
														<!-- fecha del evento -->
														<td class="hidden-480">
															<?php if($row->event_date) { echo mdate('%d/%m/%Y', strtotime($row->event_date)); } ?>
														</td>
														<!-- hora del evento -->
														<td class="hidden-480">
															<?php echo $row->time; ?>
														</td>
														<!-- precio -->
														<td class="hidden-480">
															<?php echo $row->price; ?>
														</td>
														<!-- vacantes -->
														<td class="hidden-480">
															<?php echo $row->vacants; ?>
														</td>
														<!-- inscritos -->
														<td class="hidden-480">
															<?php echo $row->filled; ?>
														</td>
														<!-- fecha -->
														<td>
															<?php echo mdate('%d/%m/%Y %h:%i %A', strtotime($row->date)); ?>
														</td>
														<!-- estado -->
														<td class="hidden-480">
														<?php if($row->deleted) { ?>
															<span class="label label-sm label-danger">Desactivado</span>
														<?php } else { ?>
															<span class="label label-sm label-success">Publicado</span>
														<?php } ?>
														</td>
														<!-- acciones -->
														<td>
															<div class="action-buttons">
																<a target="_blank" class="blue" title="Vista previa" href="<?php echo site_url('cursos/detalle/'.$row->id); ?>">
																	<i class="icon-zoom-in bigger-130"></i>
																</a>
																
																<a class="blue" title="Ver listado de inscritos" href="<?php echo site_url('admin/cursos/inscritos/'.$row->id); ?>">
																	<i class="icon-user bigger-130"></i>
																</a>

																<a class="green" title="Editar" href="<?php echo site_url('admin/cursos/registro/'.$row->id); ?>">
																	<i class="icon-pencil bigger-130"></i>
																</a>

																<a class="red" title="Eliminar" href="#" data-delete="<?php echo site_url('admin/cursos/eliminar/'.$row->id); ?>">
																	<i class="icon-trash bigger-130"></i>
																</a>
															</div>
														</td>
													</tr>
													<?php } ?>												
												</tbody>
											</table>
										</div>
									</div>
								</div>												
								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->